﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Manager_ListStudent : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void btExportPDF_Click(object sender, EventArgs e)
    {
        gridStudent.WritePdfToResponse();
    }

    protected void btExportXLS_Click(object sender, EventArgs e)
    {
        gridStudent.WriteXlsToResponse();
    }

    protected void btExportXLSX_Click(object sender, EventArgs e)
    {
        gridStudent.WriteXlsxToResponse();
    }
    protected void gvwstudent_CustomCallback(object sender, DevExpress.Web.ASPxGridView.ASPxGridViewCustomCallbackEventArgs e)
    {
        if (e.Parameters == "Refresh")
            gridStudent.DataBind();
    }
}